const url = require('url')
let myurl ="/?username=clh&&pwd=123"
let res = url.parse(myurl,true)
console.log(res)

